#include "Delay.h"
/*STC8 24M*/
void Delayms(unsigned int ms)
{
	unsigned char i, j;

	while (ms)
	{
		i = 32;
		j = 40;
		do
		{
			while (--j);
		} while (--i);
		ms--;
	}
}
void Delayus(unsigned int us)
{
	unsigned char i;

	while (us)
	{
		i = 8;
		while (--i);
		us--;
	}
}
